<template>
  <div>
    <el-header
      ><img src="../../assets/images/绿色logo.png" alt="" />
      {{ title }}
      <div class="btnDom1">
        <span class="el-icon-lock"></span
        ><el-button type="text">修改密码</el-button>
        <span class="el-icon-switch-button"></span
        ><el-button type="text">退出系统</el-button>
      </div>
    </el-header>
  </div>
</template>
<script>
export default {
  props: ["title"],
  data() {
    return {};
  },
};
</script>
<style lang="scss" scoped>
img {
  margin-right: 20px;
}
.btnDom1 {
  position: absolute;
  right: 30px;
  span[class^="el-icon"] {
    color: #2dbcbe;
  }
  .el-button {
    color: #333;
    margin-right: 10px;
  }
}
</style>